home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
admin
/
linuxcon.000
/
linuxcon
/
linuxconf-1.6
/
dialog
/
msgbox.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-02
|
319b
|
18 lines
#include "dialog.h"
/*
Display a message box. Program will pause and display an "OK" button
if the parameter 'pause' is non-zero.
*/
int dialog_msgbox(
const char *title,
const char *prompt,
const char *icon)
{
DIALOG dia;
int nof=0;
dia.seticon (icon);
return dia.edit (title,prompt,NULL,nof,MENUBUT_OK);
}